#pragma once

typedef long double float64;

class LLConverter
{
public:
	void Init(float64 Lat0, float64 Lon0);
	void LLToFlatEarth(float64 Lat, float64 Lon, float64& dN, float64& dE);

private:
	float64 m_Lat0;
	float64 m_Lon0;
	float64 m_cosLat0;
	float64 m_RN;
	float64 m_RM;

	float64 m_KdN;
	float64 m_KdE;
};

